package cn.exrick.xboot.modules.transport.gps.dto;

import lombok.Data;

/**
 * 请求体结构
 */
@Data
public class GpsLoginRequest{

    private final String module = "user";
    private final String func = "Login";
    private final GpsLoginParams params;

    public GpsLoginRequest() {
        this.params = new GpsLoginParams();
    }

    @Data
    public static class GpsLoginParams {

        private String account = "shj123";

        private String flag = "e_account_login";

        private String info;

        private String lang = "ch";  // 默认中文

        private Integer limit_size = 100;  // 默认20

        private String platform = "web";
        /** 用户md5加密密码，必填 */
        private String pwd_md5 = "6b5ddad23dc04b50263cdb9a1fb5238b";

        /**必填，账户挂靠的APP类型，可以向服务商索取，*/
        private Integer type = 58;
    }
}
